package com.wdb.modules.mnt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wdb.modules.mnt.domain.Database;
import com.wdb.modules.mnt.domain.vo.DatabaseQueryCriteria;
import com.wdb.utils.PageResult;
import org.springframework.http.HttpStatus;

/**
 * @author: wendaobai@qq.com
 * @date: 2024/9/4 星期三 10:26
 */
public interface DatabaseService extends IService<Database> {
    boolean testConnect(Database resources);

    void create(Database resources);

    PageResult<Database> queryAll(DatabaseQueryCriteria criteria, Page page);

    Database findById(String id);
}
